Updated directory creator