created new SQL to ratings to sessions for yesterday only in cronjobs, moved main query to working queries