Makes sampleMass.cpp respect the configuration file