changed require for cron