added pattern parameter in printPortals. added printReports.