fork to implement NMDM console