Adding changes to aws.rb