Added support for multiple roots