Added diag scoring.