added csv download support for summary or raw results