Change root and pages path