change directory structures.