Clean up code

Remove ^M from end of lines