Adds the root path functionality for exports