Mod for regression code use in CMSSW_6_X_X without massive commit history