adding csv export, fixed bug for loading from google drive