Working script make-config.py