Extract script runner interaction to supermonkey