Added some minor improvements to the analysis script and to the code so that we can easily keep track of the input file used on a given experiment.