Add z to path