fixed pathfollow script