Output to html rather than txt