Before adding directories