reworking config.py