Connect for command execution