more reworking settings.py