added script to calculate random variable 1->10000