Improving tree command