Config rewrite.. Gah, this was such a pain..