handle global configurations