Adding in the wait stats script