Add flag for pid.