So the begin block worked as mentioned, however it did break my script when placed in a persistent environment, since the begin block is only activated once in this environment.
So ... anyone else have some ideas? If autodispatch is broken, is there a way around this?