Added and enabled the dirtree mode