remove duplicated text. add commands