Fixed issues with windows endings in original version.
Gave the credit where credit is due.