add general command begin sequence and endsequence for miss command