Added error checking

* And updated the readme