modified default.rb to accept attributes that will be set with json file