enh: added provenance info to csv output and an example