gis_function now outputting shape files