Updated preferenes, added connect()