adjust the directory structure.