adapt main html file reference