Fixed memory leak in ScriptRunner
Typo in documentation