scripts for processing data