generate config files using mako