No need to shell out to `pwd`. `$PWD` should work just fine.