     [cljs.reader :refer [read-string]]
     [cljsbuild-ui.cljsbuild.config :refer [extract-options]]
     [cljsbuild-ui.exec :refer [get-cljsbuild-with-profiles]]
-    [cljsbuild-ui.util :refer [path-join
-                               path-dirname]]))
+    [cljsbuild-ui.util :refer [js-log log path-join path-dirname]]))
 
 (def fs (js/require "fs"))
+
+(declare write-workspace!)
 
 ;;------------------------------------------------------------------------------
 ;; Project Parsing

  ;; TODO: need to do some quick validation on projects.json format here
  (when-not (.existsSync fs workspace-filename)
    (create-default-projects-file! app-data-path workspace-filename))
  (let [filenames (js->clj (js/require workspace-filename))]
    filenames))

;;------------------------------------------------------------------------------
;; Project Workspace Modification

      (assoc project :cljsbuild cljsbuild2))))

;; TODO:
;; - need to do some quick validation of project.clj
;;   (ie: does it have :cljsbuild?)
(defn load-project-file [filename]
