added a script to run simulation