Choose version automatically