Updated distribute verison to fix infinate recursion in OSX