Dan's Mac scripts.