added script to correlate mean and slope in common mode