new background and mobile optimizations