Rename cgi to html
Load template once only