Make connect commands buffer local