Updated auto follow script.