               (spit 
                (str
                 "resources/video_ids/"
-                (config/all :daemon-name)
+                ((config/get-by-name daemon-name) :daemon-name)
                 "/"
                 "urls"
                 index

     (set)
     (clojure.set/difference (set file))
     (reduce (fn [s f] (str s " ./" f)) "")
     (#(spit (str (first (config/all :srt-source-folders)) "/rm-script.sh") (str "rm " %)))))) 



(defn response->clj [response]
  (parse-string (:body response)))

(defn save-page-token [data playlist-id]
