https://github.com/cms-analysis/flashggFinalFit/blob/acec1054fca0e0ea77ac6b47ff355bbec1758fb2/Trees2WS/tools/submissionTools.py#L56 function writePreamble() here does not take into account the `flashggPath` variable when submitting jobs for the mode `haddMC` using `--batch condor`