Modified StartScriptBuilder to allow extensions to modify the generated start script.