data processing script