script outputs complete map rather than csv for GIS