Hey Harris,
I think you have it sorted but here’s some more information for you.
To permanently enable the auto-execution of python scripts – you can set that in the user prefs (if you closed that pop up)

And here’s some images of what’s going on in the text editor.

Hope that helps.