changed html, added csv download