changed the way we switch from one version to another