added extend output option to zhtmplfinder.py and zthostfinder.py