rewrite how extra config works