Revert "changed how root is used"

This reverts commit 0707c93ce6c480f19622677e545c71b56a44a2c8.