add gen wave.do tools