added main generator tool