add some global configurations