584 adding custom xls reports

closes #584 
I would put from here to line 697 in a separate method