Altered expandTaxonTree and converted master function script to multiple single-function scripts (finally!)