This MR is to set the beam energy parameters in the Sherpa run card using the correct syntax, depending on the LCG version and to set the pre-processer flag automatically, also depending on the LCG version, addressing @fsiegert's comments from the previous commit.