Updated catamount_batch.sh because of error of [then] instead of [fi].