changed interface for selecting patient to merge
fixed mpc_script