ScriptId is now directly in the generated code.