added ERB for loadconfig.rb