Add methods for .mos file generating