Update cmdExists check