Fixed Linux script to have UNIX style line endings and UTF-8 encoding