added nightly version
implemented multiple deploy
added cron feature
added template file used by the script