fixed issues related to uploads and downloads

bug
added export csv to report type table
Merge pull request #551 from safiyu/newissue

added export csv to report table and fixed hostname related issues