Revised rake delete task