Properly replace version in main mod class