improved batch job submission