Some scripts to make a tree and analyze the tree.