Reformatted script and fixed README.md.