Some apple scripts