mogenerator shell script update: universal location of mogenerator (fixes MacPort location in /opt/local/bin)