Add Shared vars as global

As proposed in https://github.com/rcrowe/TwigBridge/pull/80