Fixed old bug in mpc script