Revert "Merge pull request #3313 from bwspenc/csv_script"

This reverts commit d37fa0e0c9d8f7501dabe7c9102c8cd42ab00969, reversing
changes made to b7058fddf1b2f674bf246156665b3c05dd74e004.