Expect Gondor classes to be on CLASSPATH rather than using a path in the shebang.
Only use pre- and post- scripts for ordinary jobs.  Workflow (SUBDAG) generation jobs don't use them.