Handle StatementInvalid errors
Updated readme