Script to create a CSV File