minor fixes to third party scripts for mac