MIG Agent: make command launching generic