switching to new client/minion script API