That's bad news about the script, but other than that it's great. That definitely does help.
I think I mixed up a bit "resource" and "add_resource()". After thinking a bit more about it, it is clear that add_resource CAN'T add script at runtime. The manual isn't very clear at that point I think.
For what I want to do, I'll need an external resource manager I think. Should not be too much of a problem for me writing one.