created script that creates csv