Added option to load entire tree on init or top level only