added support for global configurations

Signed-off-by: naazgull <pedro.figueiredo@gmail.com>