some script for mac