delete script written with ruby