; and (2) ensure that the standards issued under paragraph (1) are adapted for use in States. (e) Training and technical assistance for local and State juvenile detention and corrections personnel The Administrator shall coordinate training and technical assistance programs with juvenile detention and corrections personnel of States and units of local government to— (1) promote methods for improving conditions of juvenile confinement, including methods that are designed to minimize the use of dangerous practices, unreasonable restraints, and isolation; and (2) encourage alternative behavior management techniques based on positive youth development approaches. (f) Training and technical assistance To support mental health or substance abuse treatment including home-Based or community-Based care The Administrator shall provide training and technical assistance, in conjunction with the appropriate public agencies, to individuals involved in making decisions regarding the disposition and management of cases for youth who enter the juvenile justice system about the appropriate services and placement for youth with mental health or substance abuse needs, including— (1) juvenile justice intake personnel; (2) probation officers; (3) juvenile court judges and court services personnel; (4) prosecutors and court-appointed counsel; and (5) family members of juveniles and family advocates. (g) Grants for juvenile court judges and personnel The Attorney General, acting through the Office of Juvenile Justice and Delinquency Prevention and the Office of Justice Programs, shall make grants to improve training, education, technical assistance, evaluation, and research to enhance the capacity of State and local courts, judges, and related judicial personnel to— (1) improve the lives of children currently involved in or at risk of being involved in the juvenile court system