ADEN-115 Fixing ScriptWriter.injectScriptByText for PostScribe