set theStatusResults to paragraphs of (do shell script "curl -k --location --request GET \"https://" & theHost & "/getxml?location=/Status\" --header 'Authorization: Basic " & myBase64Url & "'   | grep " & grep_for)