fixed issue for generating both xml and html report + saving report in correct location