Added ability to run Generators inline - very crude, but working