better merging names and outputDirectory of cmsRun handling