add create_image function
fix create_image function
include AWS error (crudely)
aws errors: print code and message
code cleanup