bundling script for mac