add command into SAMPLE
add debug mode to mq