changed write.csv params for SQL2Ratings queries