I think this is missing a `cmd=command['cmd']`?