Fix running commands inside the shell