changed load in er.rb slightly to read better