add writeroom and hs-mode