Refactored settings out to local_settings