Select and insert program from library, select case, variant