make script p4totei work