renaming root attribute to docroot