Do version checking properly