Amends to the keyswtich, added the ablity to the tree option to get and return attribute values of the branch button