make config a global variable so it works -.-
and make "makeConfig" execute