added total report script