Pass correct argument to command