changes for supporting report generation using knitr