Simplifying script content'