Added option for setting static IPs in config, needs a more elegant solution