Remapping of directories