Set host to IP, refactor config changes