Fixed adminEmail in configmanager
Added template modification function