fix line endings
fix script headers