Change directory structure.