Fixed the cron script