added new option BatchJobs.clear.function.env