You need to use ruby to achieve this. have you started looking into using ruby in conjunction with your DCs?