in the script somewhere there should be an onplant function. just copy that but make it onloadplant so you have both onplant and onloadplant. old broken mods shouldn't be allowed to remain available. long unsolved problems like this, which get heard about a lot, are exactly why