Add $base->getTree(); ...

Add select of tree in macros.html