Updated write_ip_locations command to list countries/states.