creating static pages and cleaning