render.py to use config dir