Only load local config file if it exists.
Remove some unused stuff.