changed the script to consider the number of iterations; moved the data to the directory 2013-06-19