Figuring out the correct version number