Moves docroot to attribute