changed npad to run cmd