Running a script with the timeline

This may seem like a dumb question but I really am at a block here.
I have a script that simply changes the text of a text object. I don’t want to have to clutter up
the collections with multiple objects with different text annotations throughout the timeline of
the render. How does one run a script from specific points in the timeline? I have found nowhere
where I can add a script execution key-frame. Thanks in advance.

The only way to do this would be to use a frame change handler (look in the API docs for bpy.app.handlers) and check if the frame is the one you need or not.

You’re kidding… That’s the only way? Why isn’t there a object script node that allows you to select a script and insert a key frame of when to run it or rerun it?