Rewrites config