Added user agent string to curl request.

Added sample config file.