add movement tracking capability to jrank script