adjust the directory structure