Fixed a bizarre config generation bug!