added exception handling in aws_s3_imagetag.rb and some env vars