modify directory layout