added csv download for arbitrary dates