Merge pull request #3 from jvazquez-r7/work_osx

Merge in juan's improvements to module
Polishing module. Tested on 10.8, 10.8.2, and 10.8.4.
Beautify module