Update README.md

Improved conditionals and added required initialization.
Update README.md

Added error on initialization.