separated into 2 independent executables: runMC, makePlots