Added in some console logging to check that cron fix worked