make config local instead of global.