new config structure, some temp code in temp.js