made s3 assets optional