Modified cron job. Not tested yet.