changes to how the tree option accepts paramters