Build html exporting mechanism