script for csv