add reference to cmd object in external_processor