I added code to correctly pass memory requirements to the Oozie engine (workflow.xml) and also added some code that replaces the workflow_bundle_dir variable in ini files. This really needs to be fleshed out to ensure all magic variables are handled correctly.