Implement manual -upgrade-to option