Update cmdprocess.js