remodified py file to enable html pages
adding bacon comments and getting it to work