QEC scripts -MAR