Rewrite configuration system.