Fixed ScriptResourceMapping being overridden