Fix cron script