transform to csv scripts