moved on_every_page_blocks to inside main urls