   there already _is_ metadata there without overwriting it."
   [config thing meta]
   (if (and (not (:clobber config))
-           (e/succeed? (api/read-meta config thing)))
+           (e/succeed? (api/read-meta (:datastore config) thing)))
     (println
      (format "Warning: metadata for thing %s already exists! continuing w/o clobbering..."
              (t/thing->path thing)))
-    (api/write-meta config thing meta)))
+    (do (println (t/thing->path thing))
+        (api/write-meta (:datastore config) thing meta))))
 
 (defn write-docs-for-var
   "General case of writing documentation for a Var instance with

                        ns-vars)
        vars    (filter #(not (fn? @%1)) ns-vars)]

    (let [meta  (-> ns the-ns meta)
          thing (ns->thing config ns)]
      (api/write-meta config thing meta))

    ;; write per symbol docs
    (doseq [var ns-vars]

            [clojure.tools.namespace.find :as tns.f]
            [clojure.java.classpath :as cp]
            [grimoire.api :as api]
            [grimoire.api.fs :refer [->Config]]
            [grimoire.api.fs.write]
            [grimoire.api.fs.read]
            [grimoire.things :as t]
            [grimoire.util :as util]
            [grimoire.either :as e]
