Updates to Mac script