    s sortby     SORTBY     code "Sort by function"
    c comparator COMPARATOR code "Sort by comparator function"
    p page       PAGE       str  "Collection result page path"]
-  (let [pods      (pod/pod-pool (boot/get-env))
+  (let [pods      (wrap-pool (pod/pod-pool (boot/get-env)))
         tmp       (boot/tmp-dir!)
         options   (merge +collection-defaults+ *opts*)]
     (boot/with-pre-wrap fileset
-      (let [pod            (pods :refresh)
+      (let [pod            (pods fileset)
             files          (vals (get-perun-meta fileset))
             filtered-files (filter (:filterer options) files)
             sorted-files   (vec (sort-by (:sortby options) (:comparator options) filtered-files))

(def ^:private +render-defaults+
  {:out-dir "public"})

(defn- render-in-pod [pod sym file]
  {:pre [(symbol? sym) (namespace sym)]}
  (pod/with-eval-in pod

  "Render pages"
  [o out-dir  OUTDIR   str  "The output directory"
   r renderer RENDERER sym  "Page renderer. Must be fully qualified symbol which resolves to a function."]
  (let [pods    (wrap-pool (pod/pod-pool (boot/get-env)))
        tmp     (boot/tmp-dir!)
        options (merge +render-defaults+ *opts*)]
    (boot/with-pre-wrap fileset
      (let [pod   (pods fileset)
            files (vals (get-perun-meta fileset))]
        (doseq [file files]
          (let [html          (render-in-pod pod renderer file)
