make the command trigger dynamic