Added #!/usr/bin/perl at beginning

It also looks like some line endings changes.