Make script version-independent.