 
         sendSMS(sender, msg)
         if hasOthers
+            console.log "Uploaded multiple photos"
             Parse.Analytics.track("uploaded multiple photos")
             msg = "(i can only be turned on by 1 pic at a tmie. send the others again ;P)"
             sendSMS(sender, msg)

    fail = -> res.status(500).send("An error has occured")

    sender = req.query.From
    if sender.length > 1 then sender = sender[0]

    console.log req.query

    unless sender?
        Parse.Analytics.track("invalid request", "no sender")


TwilioClient = Twilio(TwilioSID, TwilioAuthToken)
sendSMS = (to, msg) ->
    console.log("sending '#{msg}' to '#{to}'")
    TwilioClient.sms.messages.create({to, from:TwilioNum, body:msg})

handleImage = (imageURL, hasOthers=false, conversation) ->
    sender = conversation.get('phone')

    console.log "Received image at #{imageURL}"
    Sightengine.checkNudityForURL imageURL, (error, result) ->
        msg = ""
        if error?
