Changed output format to .csv, added rCharts