Add Switch for eventAttn in main