scripts for data transfer and formatting