Minor changes in template files and in the helper library used to generate sogo.conf file