Finalized the countdown timer script.