use getcwd() instead of exec('pwd')
Merge pull request #9 from addshore/patch-1

use getcwd() instead of exec('pwd')