replace critical config files by samples