use command by code
add menu command