using PWD to define current dir