Fixes the cron job