new functions used to run the experiment
added script for running the experiment.