added cron hook + perform popularity calculations