add master and minion scripts