add pages to settings and remove static_pages