generalized scripts