Originated from slashem-macosx(https://code.google.com/p/slashem-macosx/)