Now replaces environment variables in the filename that is constructed. Also sets the environment variable RUN_NUMBER equal to the current run number - this allows the run number to be used in the filename.
updated versions
Fixed an output bug where precision was output instead of recall and f-measure.