Updated getConfig and updated sockets.