Updated Script class.