Updated to have command trigger printout.