unused imports and flake8
correct the s3 http URL