Update generate-settings.sh