Added debugging code
More debugging
Fixed the AWS settings