changes pages to theme root folder