added ratings and fixed cron