The script was modified for correct calculation of X_AXIS Y_AXIS for folded peaks. And writing of X1 X3 Y1 Y3 to be able to read peak list in nmrDraw.