New script to export HTML pages