Index DTO now takes array for SearchProfiles and Scripts