add a command for changing the autoconnect setting