add light structures
normalize line endings