updating cron job script to create all needed tables