Fix settings not loaded from config.py