Fixes to MissRatio.cpp file output and to the run_script