minor change to deletion script