Split things up a bit and add some error messages
Handle error response from wolfram