Fixed bug with giving static ip/hostnames.