Output to file instead of cout
Added m2score.sh