improved contour plotting and confidence-trace-difference script with re-run