add automatic creation of document root