finished scripts for data collection