add global variable script