add page number to schema variables