mac os x host with callback for start/end