for the Script class