Updated automate tree label thingy