enable add id and write into a new html file