Add swp and undo dirs