added dir params