Haven't had a look at the script you attached later on but does it include detection of WiFi/cell internet? I have a rather... light... data package of 1GB a month on my main number. Having the script pushing out 8MP photos automagically might not be such a good choice for me