In this study, Rossillo and Ringstad sought to determine mechanisms that support the physiology and plasticity of BAG neurons, which are specialized neurons that sense the respiratory gas carbon dioxide (CO2) and, in a context-dependent manner, switch from mediating avoidance of CO2to supporting CO2attraction in C. elegans. They used tandem ChIP-seq and cell targeted RNA-seq to identify gene targets of the transcription factor ETS-5, which is required for BAG development, and their functional screen of ETS-5 targets revealed that NHR-6, the sole C. elegansNR4A-type nuclear receptor, is required for BAG-mediated avoidance of CO2and regulates expression of a subset of BAG-specific genes.