         tmpf (partial str wd "/")
         vector-file (str basename vector-file-ext)]
     (do
+      (prep-scripts!)
       @(exec/sh ["mkdir" wd])
-      @(exec/sh ["gdal_polygonize.py" tiff "-f" ogr-format (tmpf vector-file)])
+      (python gdal-polygonize-script tiff "-f" ogr-format "-p" (tmpf vector-file))
       @(exec/sh ["zip" "-r" dst "."] {:dir wd})
       @(exec/sh ["rm" "-Rf" wd]))))
 

    (if-not (.exists (io/as-file raster-to-png-script))
      (spit raster-to-png-script (slurp (io/resource raster-to-png-script-src))))
    (if-not (.exists (io/as-file raster-median-script))
      (spit raster-median-script (slurp (io/resource raster-median-script-src))))))

(defn sets
  "Data sets available for generating raster calculations"

        style-template (slurp (io/resource raster-style-template))
        stops (colour-map-stops tiff)]
    (do
      (prep-scripts!)
      (spit
       style-filename
       (-> style-template
