Fix ScriptHandler.php