Add logic to extract minion ids from call