Renamed `chdir` to `cwd` because it is better