Added config and auto-connect