made EOL character configurable over options