finalized iss13 and postcommand bugfixes in QC.sh and recover part of prepare jobsubmission