simple deletion script that can be atttached to objects