Fix minion scripts