little twiddling, added EOL format option and save with sudo