add script to export csv