Added error messages, updated README file