updated cover-bg with some optimizations