swap the arguments to be correct
add a chdir to make sure pwd is correct for slurm to pick up