Fixed issue when using other AWS regions
Merge pull request #3 from juanfont/master

Fixed issue when using other AWS regions