Script for data_collection