Weird, it works with at my computer without any problems.

I took your script and wrote it in a mrc format, loaded it, and I get the "unload" message only once.