Modified version checker to match mr-orange code