Add missing newline characters and change shell scripts.