fixed compilation error. writing script to generate test data
adding in generate data script