Made line endings configurable