Use progress rather than timedWaitBar
Added script for slurm