Added reading of settings on connect