add support for nesting tasks in dirs