Update CMD application

Fix bug with accept command