Added logging
Fixed proto command
Fixed regex warning
Fixed bug that caused error message for 'proto read'