GenerateModMat.py works well under hadoop runner