Updates to XML writing code, minor fiddles
Minor cleanup
Code to make PBS scripts
Change aprun command