implemented cwd/shell op