; and (4) by inserting after paragraph (5) (as redesignated) the following: (6) The Secretary of Homeland Security shall make training of State and local law enforcement officers available through as many means as possible, including through residential training at the Center for Domestic Preparedness and the Federal Law Enforcement Training Center, onsite training held at State or local police agencies or facilities, online training courses by computer, teleconferencing, and videotape, or the digital video display (DVD) of a training course or courses. Distance learning through a secure, encrypted distributed learning system that has all its servers based in the United States, is scalable, survivable, and can have a portal in place not later than 30 days after the date of the enactment of this Act, shall be made available by the COPS Office of the Department of Justice and the Federal Law Enforcement Training Center Distributed Learning Program for State and local law enforcement personnel. Preference shall be given to private sector-based Web-based immigration enforcement training programs for which the Federal Government has already provided support to develop. . 113. State Criminal Alien Assistance Program (SCAAP) Section 241(i) of the Immigration and Nationality Act ( 8 U.S.C. 1231(i) ) is amended— (1) by striking Attorney General the first place such term appears and inserting Secretary of Homeland Security ; (2) by striking Attorney General each place such term appears thereafter and inserting Secretary