; and (B) may obtain judicial review of the final order or decision of the Board if the employee is adversely affected or aggrieved by that order or decision. ; and (B) in section 8G, by adding at the end the following: (i) (1) In the event of a vacancy in the position of Inspector General— (A) the first assistant to the position of Inspector General who served in that position for not less than 30 days immediately preceding the vacancy shall perform the functions and duties of the Inspector General temporarily in an acting capacity until the head of the designated Federal entity appoints a permanent Inspector General; (B) if there is no first assistant to the position of Inspector General serving in that position for not less than 30 days immediately preceding the vacancy, the head of the designated Federal entity shall direct a covered employee of the Office of Inspector General or another Office of Inspector General to perform the functions and duties of the Inspector General temporarily in an acting capacity, until the head of the designated Federal entity appoints a permanent Inspector General