updated for form factor of html files