Small change to pwd passing