add aws.py hooks