Start implementing sbatch-or-local execution mode code (should work for sample-level, not yet implemented for seqrun)