$Script:GUIActions.AvailableKickstarts =  Get-InputCSVs -OSestoInstall | Select-Object 'Kickstart_Version','Kickstart_VersionFriendlyName','InstallMedia'

foreach ($Kickstart in $Script:GUIActions.AvailableKickstarts) {
    $WPF_StartPage_KickstartVersion_Dropdown.AddChild(($Kickstart.Kickstart_VersionFriendlyName).tostring())
}

 $WPF_StartPage_KickstartVersion_Dropdown.Add_SelectionChanged({
     foreach ($Kickstart in $Script:GUIActions.AvailableKickstarts) {
         if ($Kickstart.Kickstart_VersionFriendlyName -eq $WPF_StartPage_KickstartVersion_Dropdown.SelectedItem){
             if ($Kickstart.Kickstart_Version -ne $Script:GUIActions.KickstartVersiontoUse){
                 $Script:GUIActions.KickstartVersiontoUse = $Kickstart.Kickstart_Version 
                 $Script:GUIActions.DefaultPackagesSelected = $true
                 $Script:GUIActions.DefaultIconsetSelected = $true
                 $Script:GUIActions.SelectedIconSet = $null
                 $Script:GUIActions.KickstartVersiontoUseFriendlyName = $WPF_StartPage_KickstartVersion_Dropdown.SelectedItem
                 $Script:GUIActions.OSInstallMediaType = $Kickstart.InstallMedia
                 $Script:GUIActions.FoundInstallMediatoUse = $null
                 $Script:GUIActions.FoundKickstarttoUse = $null
              #   $Script:GUIActions.ROMLocation = $null
              #   $Script:GUIActions.InstallMediaLocation = $null
                 $Script:GUICurrentStatus.AvailablePackagesNeedingGeneration = $true
                 Write-AvailableIconsets
                 update-ui -Emu68Settings
             }
             break
         }
     }

})

