The jail system has replaced the mental health system and the drug treatment centers in most of the country. Many of them now have Opioid and detox programs where inmates maybe given supplemental drugs. They also may have access to pain pills, some of which can be horded by inmates, crushed, snorted, and used to get high or traded for other items.