added glag in config for error message out and added example to README