updates to create text file from html file, and enable tweeting