Should this be inside the "if new_version"?