                               'distel-menu-items
                               erlang-menu-items))
    (erlang-menu-init)
-   (erl-spawn (erl-send-rpc node 'wrangler_distel 'start_processes (list erlang-refac-search-paths)))
+   (erl-spawn (erl-send-rpc node 'application 'start (list 'wrangler_app)))
    (setq erlang-refactor-mode t))
 
 (defun erlang-refactor-off(node)

        (erlang-menu-delete 'refactor-menu-items erlang-menu-items))
  (erlang-menu-init)
  (when (and erlang-refactor-mode node)
   (erl-spawn (erl-send-rpc node 'wrangler_distel 'stop_processes (list)))
   (setq erlang-refactor-mode nil)))

     ;; ("Uninstrument Program" erl-refactor-uninstrument-prog)
      nil
      ("From Tuple To Record" erl-refactor-tuple-to-record)
      ("Tuple Function Arguments (beta)" erl-refactor-tuple-funpar)
      nil
      ("Rename a Process" erl-refactor-rename-process)
      ("Add a Tag to Messages (beta)"  erl-refactor-add-a-tag)
      ("Register a Process"   erl-refactor-register-pid)
      ("From Function to Process" erl-refactor-fun-to-process)
      nil
