Thanks, I'll try it. I'm also going to try adding server_exec directly to plugin_init of my plugin, because I'm going to distribute it to other people.
Edit: I just realized it won't do anything, so nevermind. I'll just delay it then, 0.5 seconds is still fine.