Mod upgrade script WIP