Adding enhanced ruby mode