MSA upgrade to Python