update run-on-batch script