adding preexec script to sub-jobs