generate html in package file