Fixing newline issues and marking it as executable