fix line endings
add counters and build status