Working iGPS scripts