Added check for batch run when running a future job