modified tmpl.rb
update