added main.cfg.template