Change directory name and hierarchy.