         http-port (options :port)
         rpl-port (options :repl-port)
         install? (options :install)
-        nrepl-handler (apply nrs/default-handler
-                             (concat (map resolve cider-middleware)
-                                     [#'wrap-refactor]))]
+        nrepl-handler (nrepl-handler-hack)]
     (if errors
       (do (println "Error(s): " errors)
           (System/exit 1))


            ;; Tunneling Cider nREPL support
            [clojure.tools.nrepl.server :as nrs]
            [cider.nrepl :refer [cider-middleware]]
            [refactor-nrepl.middleware :refer [wrap-refactor]]

            [cpath-clj.core :as cp] ; Extract Jar resources

    :default true]])

;; Incorporate correct cider middleware for tunneling nREPL support
#_(apply nrs/default-handler (map resolve cider-middleware))



