switched input params place in execCmd