save csv and plots