adds incremental csv save feature