I did nothing but adjust the code. All credit to @AdorableAnimals1 and @MistCat. Duoble click the flag!