setting secure export as global variable