Improved GPS scirpts.