Add the verify host option, fix template issues.