Add global settings

Signed-off-by: yiwenl <bongiovi015@gmail.com>