Changes for slurm kill and poll support and rearranging initial scripting.