Fixed monitor script for number of running/total batch jobs