Fix connect commands not saving.