Made main a html doc.