Add 'doctor' command