script for processing data.