Sounds like you did more than intended.
Are you DEL statements still referring to what the actions for which they were intended?
Did you save a copy of the original script? Try commenting out the areas you amended one at a time to see when and where the script starting giving unintended results.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System
"Implementing Successful Building Information Modeling"