clean up and change shell.