Added debug mode so cron jobs aren't noisy on failure