Run mac script through the shell