creating global and local config files