edited aws.rb