simplify animal export kml code