parameter set from McGrath 2012
BatchRun Shell Script