script for old ZD