In Caenorhabditis elegans, loss of the transcription factors FOS-1 and EGL-43 — orthologs of human FOS and MECOM, respectively — severely reduces presynaptic gene expression in dopaminergic neurons. These transcription factors form an activity-regulated positive feedback loop, which modulates the expression of synaptic genes and genetic programs to promote synapse formation.