adding user agent string to be copied with templates