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

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