Updated function examples to load data tree and run independently