use global var for Config & add some controls