add script for mac