moved globalPrKey to configmanager