cd to directory after running sudo