updated processing script