Fix line endings and add a thumbnail