Updated README.md and a wrong variable name in one of the examples