Update result processing script