Adding code of shell.