fixed offline city geoip script