add ERB support