added script mpc