Changed mtype to use pid for both iuctl and server