have pwd return just the path as a string, not an object