; and (B) will remain in that reserve component as a member of the Selected Reserve until completion of the commissioned service obligation of the cadet. . (d) Application of amendments The Secretaries of the military departments shall promptly revise the cadet and midshipman service agreements under sections 4348, 6959, and 9348 of title 10, United States Code, to reflect the amendments made by this section. The revised agreement shall apply to cadets and midshipmen who are attending the United States Military Academy, the United States Naval Academy, or the United States Air Force Academy on the date of the enactment of this Act and to persons who begin attendance at such military service academies on or after that date. 544. Pilot programs on appointment in the excepted service in the Department of Defense of physically disqualified former cadets and midshipmen (a) Pilot programs authorized (1) In general Each Secretary of a military department may carry out a pilot program under which former cadets or midshipmen described in paragraph (2) (in this section referred to as eligible individuals ) under the jurisdiction of such Secretary may be appointed by the Secretary of Defense in the excepted service under section 3320 of title 5, United States Code, in the Department of Defense. (2) Cadets and midshipmen Except as provided in paragraph (3), a former cadet or midshipman described in this paragraph is any former cadet at the United States Military Academy or the United States Air Force Academy, and any former midshipman at the United States Naval Academy, who— (A) completed the prescribed course of instruction and graduated from the applicable service academy