Edited error in macs2 script