Added support for 'root' paths