Updated MC script