Script was ignoring last point of the path, now corrected, and track coordinates updated.