Fix indendation.
Change expected key in run_command().
Add some more logging.