Corrected the beautify function
Improved README file