generator tool