send msg before executing command