Add mod version check code