trying to insert generated html pages