changed settings.dat to settings.conf, and added extra fields to support tenants.cgi