add dir process