Updates to cron hook