added -g/--global option for config keys