fix for aws script deployment for s3