Add option/environment variable to enable nested queuing of tasks - principally of use when using Open OnDemand desktop environments
Fix os.rename issues with wrapper script creation