You can set the "init function" in extension properties to be your entrypoint script, and that'll call it at an appropriate time during game startup.
Didn't know about that. Many thanks.