Remove unused variable
Fix scontrol update jobid on resize making the script.
Add Failures if script didn't do the right thing, or wasn't found.