added script to generate possible m + v combinations