Rewrite OA version fetching and comparing