add support for multiple directory trees