modified some ruby files