add all the missing directories