Cleanup of cfg_dir and add "proxies" attribute