moved some things into local_settings.