Updated connection command with options