Adding MPMs python script