Adapt run_command to the extraction of the messages from dynamic_graph_bridge.