I think you'd have to do a check:
If icon.library = version "anything other than the version you've installed" then run the LoadResident command
Else skip running the command
Or "if version icon.library = version you've installed, skip running the load command"
Else "run the load command"
That's just offhand, obviously. I'm not near a computer right now. But it sounds like part of the problem is that it's being loaded twice.
