removed extraneous dependence on tree command