simplified deletion script