script for sorting photos, from mobiles