change the directory layout.