get and use both legacy and new version numbers