added hostname to connect