creating inv dir