add useragent support