allow the command to be altered via a listener