add user agent support