Added useragent setup based upon feedback in the comments.