script for random data generation