fix cron script