Add directory path prop to task command