Create mstar_generator.sh