Ok. When I run your code through the script it displays Kixtart Version 4.02 Spell Checker Program Group Deleted.... But it really doesn't delete the group. When I run your code manually I get Kixtart Version 4.02 DelProgramGroup ERROR:1. Running it this way deletes the group.