make settings.sh more general