modified:   share/common/mainTemplate.cc