updated url generator, it's not quite perfect yet
removed outlines from write_kml