m script