New and improved script