use getcwd() instead of exec('pwd')
Merge pull request #23 from addshore/master

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