Add some more debugging to ScriptRunner