adds many new pages and gallery type