script generator for MC-Sym