Adjust Piper command line based on execution mode (local vs. sbatch)
Add number of threads to piper section