updated for uploading to Mac App store