; (vi) a plan to engage family members, where appropriate, in the design and delivery of juvenile delinquency prevention and treatment services, particularly post-placement; (vii) a plan to use community-based services to respond to the needs of at-risk youth or youth who have come into contact with the juvenile justice system; (viii) a plan to promote evidence-based and trauma-informed programs and practices; and (ix) not later than 1 year after the date of enactment of the Juvenile Justice Reform Act of 2017 , a plan, which shall be implemented not later than 2 years after the date of enactment of the Juvenile Justice Reform Act of 2017 , to— (I) eliminate the use of restraints of known pregnant juveniles housed in secure juvenile detention and correction facilities, during labor, delivery, and post-partum recovery, unless credible, reasonable grounds exist to believe the detainee presents an immediate and serious threat of hurting herself, staff, or others; and (II) eliminate the use of abdominal restraints, leg and ankle restraints, wrist restraints behind the back, and four-point restraints on known pregnant juveniles, unless— (aa) credible, reasonable grounds exist to believe the detainee presents an immediate and serious threat of hurting herself, staff, or others; or (bb) reasonable grounds exist to believe the detainee presents an immediate and credible risk of escape that cannot be reasonably minimized through any other method; ; (F) in paragraph (8), by striking existing and inserting evidence-based and promising ; (G) in paragraph (9)— (i) in the matter preceding subparagraph (A), by inserting , with priority in funding given to entities meeting the criteria for evidence-based or promising programs after used for ; (ii) in subparagraph (A)— (I) in clause (i)— (aa) by inserting status offenders and other before youth who need ; and (bb) by striking and at the end; (II) in clause (ii) by adding and at the end