made final version of batch_run_moses