Changes to write a report on build. Related to #22