Updated to work with the latest version

Updated to work with the latest version of OpenMods