additions to FollowPath to allow it to be more dynamic