Added network settings
Fixed a line bug