def run_cell_magic(self, magic_name, line, cell):
        """Run a limited number of magics from scripts, without IPython"""

        if magic_name == 'bash':
            self.shebang("bash", cell)
        elif magic_name == 'metatab':
            self.mm.metatab(line, cell)