sample script updated in GPSfunction.hs