Added capture code to repot.