Add bgwriterOutput