fix formatting
Add AddChodCommand and log support