mac pkg script