added rhtml mode