Safe setting of configuration