Fixed config generation