I was wondering, is there any way to detect when a user has randomly uninstalled your mod so you can run some cleanup code? The specific situation I am having a problem with is with ActiveMagicEffects. When the mod is uninstalled the magic effect is removed from the actor, but the OnEffectFinish() event is not fired. While this does make sense, it is very inconvenient. I have one possible idea on how this could be rectified. On the creation kit wiki it says that if a script is in the middle of executing when a save is made, and the script is removed prior to reloading, a copy of the script will have been stored in the save-file, and will be allowed to finish before being permanently purged. If this is the case (haven't tested it), I could conceivably have an update chain or something running in my ActiveMagicEffect script that does the following: wait some time (10 seconds maybe) check if the mod is still installed again, if not, artificially call OnEffectFinish() and return re-register for the eventDoes this sound like a good idea? If so, how can I poll for whether or not my mod is still installed. If not, is there another way? Thank you.