Fixed overwriting config files.