global variable setup in packages