changed function term_cmd so last job for a fragment to run to completion does not run processes gapping two parallelized steps; and thereby risk hitting the CPU walltime