add rhtml mode