Add optional user agent setting