Written a script for parsing a tree and changing the node labels easily