add user agent into config file