script to generate data