updates to scripts for reports: page view by category

Change-Id: I4440490cf7191d00aca127a0dcfdb575ffa07c2d