Added 'connect_on_startup' settings. Fixes #1