fix z path scope
Merge pull request #145 from chrisirhc/feature/fix-z-plugin

fix z path scope