       (do 
           (.log js/console "#popup:on-doc-ready")
           (switch-proxy!)
-          (set-link! "options_link" "options.html")
+          (set-link! "options_link" "resources/public/options.html")
           (set-link! "echo_link" "resources/public/echo.html")
           (load-proxy-uri "http://localhost:9001")
           (ev/listen! (by-id "proxy_run") :click on-proxy-run!)

                                     :system]
                               :run ["pac_script"
                                     "fixed_servers"]})

(defn set-link! [id uri]
  (set-attr! (by-id id) :href (.getURL js/chrome.runtime uri)))

                    (reset! proxy-switch false))))))))

(defn apply-proxy-settings! [e]
  (let [c (make-proxy-settings! (value (by-id "proxy_uri")))
        d (clj->js c)]
    (.preventDefault e.evt)
    (.stopPropagation e.evt)
    (.log js/console d)
    (.set js/chrome.proxy.settings
          d (fn [s]
              (.log js/console (js->clj s))))
    (.sendRequest js/chrome.extension {:type "clearError"})))

(defn clear-proxy-settings! []
