Add terminal message.
Some changes.