add some color & undodir to persist undos