bug fix: Now write the parameter file in the batch directory
Merge remote-tracking branch 'origin/master'