Working on a valid script for a clean OS X 10.8.5 installation