helper script for mac