Final script version.