Refactors multisite to work with new settings setup