T3: Optimize code
Fix overwrite html
Normalize line ending