adding userAgent to conf type