Why the `simple=False`? This makes run_cmd return both the exit code and the command output, but you're not using it.
Maybe just drop it, and use whatever is default?
Same below...