...or name the textfile mapname.cfg and put it in the same folder as mapname.ogz, that is: /packages/base/ (of course replacing "mapname" with the actual name of your map).
The Mac-equivalent of Notepad is Textedit.
What is the script supposed to do and when?