changed run-mw.sh to use sed -i