QEC scripts MAR