fixing end of lines
fixing line endings
changed string comparision of operators to Culture-Insensitive