Use functions in generate-config.py