updated optional inclusion of page markup