Script is now cron friendly.