Modified cwd to find absolute path