data generation script for real time recommendation