Added error messages to aws.py