Use S3 for uploads in production
Hide document if not existing