added latest version support to version file