try except for boto3 import
change import