Sorry David, your script was perfect. My mistake, I ran it from a different directory. Enrico -- Enrico Indiogine Mathematics Education Texas A&M University hindiogine at gmail.com