fix line endings and change package type