Do not use unused mode-hook
Use server-mode