Fixed Mac Bundle setup script and its permissions