Change line endings to Unix format
Fix bug with role comparison