Include template.rb and substitute.rb