Added a way to set the user agent