Popularity data miner script was crashing in the production environment.