Do not clean the environment also for scriptExe
Use input files to perform report. Fixes #4390

Also, fixed upload of runs and lumis for such files. It was not working.
Merge pull request #4594 from mmascher/master

Pull for December bugfix release