Script for processing data