change to 'csv' option for plotting data