added support for erb and rhtml