Fix bugs in installer. Update README.md.