Updated swmm5.py so it can be run on mac