Replaced :condition 's with appropriate :max, :min, :words, and :file