update mac osx app building scripts
restore TOC to doc index