rewrite config loading now from the network