added comment generation and copy buttons