Flatten profile dirs