Deploy: adapted the deploy.sh script for using with cron.