added pagenum generation to workbook build