Modify directory structures