updated cron script