improved conf.py