Fixed bug with checking for output_only constraints.
Removed unneeded debug output
Tested for correct jobscript output