config rewrites