scripts to submit jobs in batch: now it only works at CERN. need to modify for PBS