An NAC domain transcription factor ATAF2 acts as transcriptional activator or repressor dependent on promoter context.