Added option to save as html