updating scripts for batch pattern reco jobs