Use ruby_next in drain script