   (when (:migrator target)
     (let [migration-id (get-full-migrator-id id)
           path (str (:migrator target) "/"
-                    (clojure.string/replace migration-id "-" "_")
+                    (string/replace migration-id "-" "_")
                     ".clj")]
       (println "creating" path)
       (try

  )
" (apply str (interpose "."
                        (concat
                         (-> (:migrator target) (clojure.string/split #"/") rest)
                         [migration-id]))) ns))
        (catch Exception e
          (println "Error creating file" path))))))

(defn get-full-migrator-id [id]
  (str (f/unparse (f/formatter "YYYYMMddHHmmss") (t/now)) "-" id))

(defn- get-migration-files [path]
  (let [folder (io/file path)
        classpath-folder (->> (string/split path "/")
                              rest (interpose "/") (apply str))]
    (if (.isDirectory folder)
      ;; If it's a folder just read the file from there
      (map #(.getName %) (.listFiles folder))

      ;; Try finding this path in a jar on the classpath
      (->> (classpath/classpath-jarfiles)
           (mapcat classpath/filenames-in-jar)
           (filter #(.startsWith % classpath-folder))))))

(defn- get-migration-namespaces [path]
  (when path
    (let [ns (->> (string/split path #"/")
                  rest
                  (interpose ".")
                  (apply str))]
      (->> (get-migration-files path)
           (map #(re-matches #"(.*)(\.clj)$" %))
           (keep second)
           (map #(string/replace % "_" "-"))
           sort
           (mapv #(vector % (symbol (str ns "." %))))))))

(defn get-migrations
  "Get all seq of ragtime migrators given a path (will scan the filesystem)"
  [path]
  (for [[id ns] (get-migration-namespaces path)]
    (do
      (require ns)
      (verbose-migration
