modified tree cmd