updated path to z