Changed the timer that runs the think function.