Add a script for cron