Rewrite exclude settings

Tried to push directly but it failed for some reason.