added aws/common.rb
minor changes