added the framework for a -t option to cheoose other than the default template, although there are no other templates at this second. but that will change