Fix trigger against template & script version mismatch