fix for build. Large improvements for the step definition and hooks area of the html report.