wrote quick csv download script