Load the tree nodes dynamically