Update mstar_generator.sh