Because some pharmaceutically active compounds retain their therapeutic activity after modification of a reactive group, such as an alcohol or amine, biomaterials that release compounds with such modifications can also be therapeutically useful. [0267] The current invention converts an alcohol or amine on the pharmaceutically active compound to a more reactive thiol or amine group.