Researchers have developed a new generation of pain medications. The researchers used computer simulations to develop new opioids that will only work at sites affected by injury or inflammation. These drugs can prevent the occurrence of brain- and gut-related side effects typically associated with conventional opioids and have been shown to be successful in preclinical studies.