cron script and db fix