simplified a check
updated git attributes to force linux line endings