Added covered & contained script for images and other elements