use script level variable instead