wrapped script