Adding generate buttons.