Changed the undo and swap dir