fix generate.sh for Mac OS X and Linux OS
new root post:hacks.html