finished the script to run the simulation massively to get the results