Added an sleep time of a second between changes