Script refused to run on Ubuntu, removed Mac check

When I ran the script with this check removed it worked OK.