Replace writeips command with write_ip_locations, to precalc latlong.