Update generate_settings.py