added templated dir path