Some fix to work in multisite.
Fix script to add new site. Comply settings.
Add default local settings.