modified settings to be independent of local_settings and modified test_settings to import settings