Now uses dir2paths transformation