Background queue, fixes for S3