Just out of curiosity, is your script transferring your location info in plain text online?
To take this further: an L5 / linux phone app (GUI) that let’s user send location safely to server(s) or apps (sms) and set the parameters (how often and maybe using some events, like logging in and taking a photo etc.). There is need for something similar, as has been previously discussed. So, if someone does a script, why not take it a bit further…