How to enable 'Connect on Startup' with a command?