A new study demonstrates how plants of the nightshade family produce pharmaceutically valuable compounds and how this biosynthesis is epigenetically regulated.