This section below is where the auto-clicking to restart happens.