Moved mac distribution into scripts